Skip to main content

ImageMetadataProperty

Type

operator

Summary

the metadata associated with an image.

Syntax

the metadata of <mImage>

Description

An array containing metadata associated with an image.

Parameters

NameTypeDescription

mImage

An expression which evaluates to an image.

Examples

// Load an image from a file
variable tImage as Image
put image from file "images/logo.png" into tImage

// get the image metadata
variable tMetadata as Array
put the metadata of tImage into tMetadata

// get image density in DPI from the image metadata
variable tDPI as Number
if "density" is among the keys of tMetadata then
put tMetadata["density"] into tDPI
else
put 72 into tDPI
end if
Thank you for your feedback!

Was this page helpful?